package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("mall_refunds")
public class MallRefundsDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 用户ID */
    @TableField("user_id")
    private Long userId;
    /** 订单ID */
    @TableField("order_id")
    private Long orderId;
    /** 审核人ID */
    @TableField("admin_id")
    private Long adminId;
    /** 微信订单号 */
    @TableField("wx_order_num")
    private String wxOrderNum;
    /** 订单类别 1书籍 2周边 3积分 4购物车 */
    @TableField("order_type")
    private Integer orderType;
    /** 售后完成时间（也是退款时间） */
    @TableField("refund_date")
    private Date refundDate;
    /** 售后类型 0退货 1换货 */
    @TableField("goodsServiceType")
    private Integer goodsServiceType;
    /** 驳回原因 */
    @TableField("overruled_reason")
    private String overruledReason;
    /** 售后原因 */
    @TableField("refund_reason")
    private String refundReason;
    /** 问题图片 */
    @TableField("problem_picture")
    private String problemPicture;
    /** 售后状态 0:待审批 1:待寄回 2:运输中 3:已完成 4:已驳回 */
    @TableField("status")
    private Integer status;
    /** 物流单号 */
    @TableField("free_num")
    private String freeNum;
    /** 物流单图片 */
    @TableField("free_picture")
    private String freePicture;
}
